package edu.liushao.entity;

import org.springframework.stereotype.Component;
import org.springframework.stereotype.Controller;
import org.springframework.stereotype.Repository;
import org.springframework.stereotype.Service;

import java.io.Serializable;

/**
 * @program: untitled
 * @ClassName Book
 * @description:
 * @author: 刘庆东
 * @create: 2024−11-27 14:15
 * @Version 1.0
 **/

public class Book  implements Serializable {

    private String bookName;
    private double bookPrice;

    public Book() {
    }

    public Book(String bookName, double bookPrice) {
        this.bookName = bookName;
        this.bookPrice = bookPrice;
    }

    public String getBookName() {
        return bookName;
    }

    public void setBookName(String bookName) {
        this.bookName = bookName;
    }

    public double getBookPrice() {
        return bookPrice;
    }

    public void setBookPrice(double bookPrice) {
        this.bookPrice = bookPrice;
    }
}
